#include "NezhaAllocator.h"

using namespace Nezha;

Allocator* NZAllocator::msAllocator = NULL;

void NZAllocator::InitializeWithUserAllocator(Allocator* alloc)
{
	msAllocator = alloc;
}

MemTracker* NZMemoryTrack::msTracker = NULL;

void NZMemoryTrack::InitializeWithUserTracker(MemTracker* tracker)
{
	msTracker = tracker;
}

// FIXME need default allocator & tracker
// TODO default allocator & tracker implement & static global initializer